package com.ruoyi.teacher.service;

import java.util.List;

import com.ruoyi.common.core.web.domain.AjaxResult;
import com.ruoyi.teacher.domain.TNewspaper;

/**
 * 老师日报Service接口
 * 
 * @author ruoyi
 * @date 2022-12-24
 */
public interface ITNewspaperService 
{
    /**
     * 查询老师日报
     * 
     * @param id 老师日报主键
     * @return 老师日报
     */
    public TNewspaper selectTNewspaperById(Long id);

    /**
     * 查询老师日报列表
     * 
     * @param tNewspaper 老师日报
     * @return 老师日报集合
     */
    public List<TNewspaper> selectTNewspaperList(TNewspaper tNewspaper);

    /**
     * 新增老师日报
     * 
     * @param tNewspaper 老师日报
     * @return 结果
     */
    public AjaxResult insertTNewspaper(TNewspaper tNewspaper);

    /**
     * 修改老师日报
     * 
     * @param tNewspaper 老师日报
     * @return 结果
     */
    public int updateTNewspaper(TNewspaper tNewspaper);

    /**
     * 批量删除老师日报
     * 
     * @param ids 需要删除的老师日报主键集合
     * @return 结果
     */
    public int deleteTNewspaperByIds(Long[] ids);

    /**
     * 删除老师日报信息
     * 
     * @param id 老师日报主键
     * @return 结果
     */
    public int deleteTNewspaperById(Long id);

    String batchAdd(TNewspaper newspaper);

    void dailyReminder();
}
